$(function () {
    getCuisineFindAll();
})

function getCuisineFindAll() {
    $.ajax({
        url: '/back/cuisine/findAll',
        data: '',
        dataType: 'json',
        type: 'get',
        success: function (data) {
            let html = '';
            data = data.list;
            for (let i = 0; i < data.length; i++) {
                html += ' <option value="' + data[i].id + '">' + data[i].name + '</option>';
            }
            $("#cuisine").html(html);
        }
    })
}